package com.wrx.club_management_backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wrx.club_management_backend.common.CommonEntity;
import lombok.Data;

@Data
@TableName("tb_msg")
public class Msg extends CommonEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private int type;
    private String title;
    private String content;
    @TableField("`from`")
    private Long from;
    @TableField("`to`")
    private Long to;
    private Long clubId;
    private int stat;
}
